package com.example.czxyindex.web.remote;


import com.yc.czxy.bean.user;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("czxy-user")
@RequestMapping("/user")
public interface IUserAction {

    @GetMapping("/login")
    user selectForLogin(@RequestParam("userName") String userName, @RequestParam("passWord")String passWord);
}
